//How to create random integers within a specific range in C langauge.
srand(time(0))
number = (rand() % (upper - lower + 1)) + lower
//upper = max number
//lower = least number
#include <time.h>
#include <stdlib.h>
srand(time(NULL)); // Initialization, should only be called once.
int r = rand(); // Returns a pseudo-random integer between 0 and RAND_MAX.